package com.small.nacos.client.config.filter.impl;

import java.util.HashMap;
import java.util.Map;

import static com.small.nacos.api.config.common.ConfigConstants.*;

/**
 * @Author zhoujin
 * @Date 2022/11/18 16:45
 */
public class ConfigResponse {

    private final Map<String, Object> param = new HashMap<String, Object>();

    public String getTenant() {
        return (String) param.get(TENANT);
    }

    public void setTenant(String tenant) {
        param.put(TENANT, tenant);
    }

    public String getDataId() {
        return (String) param.get(DATA_ID);
    }

    public void setDataId(String dataId) {
        param.put(DATA_ID, dataId);
    }

    public String getGroup() {
        return (String) param.get(GROUP);
    }

    public void setGroup(String group) {
        param.put(GROUP, group);
    }

    public String getContent() {
        return (String) param.get(CONTENT);
    }

    public void setContent(String content) {
        param.put(CONTENT, content);
    }

    public String getConfigType() {
        return (String) param.get(CONFIG_TYPE);
    }

    public void setConfigType(String configType) {
        param.put(CONFIG_TYPE, configType);
    }

}
